﻿public class HomeWork {
	String name;
	int age;
	double height;
	double weight;
	char gender;
	String dream;
	
	public void show(){
		System.out.println("姓名："+name);
		System.out.println("年龄："+age+"岁");
		System.out.println("身高："+height+"米");
		System.out.println("体重："+weight+"kg");
		System.out.println("性别："+gender);
		System.out.println("梦想："+dream);
	}
	
	public static void main(String[] args) {
		HomeWork man = new HomeWork();
		man.name = "刘梦成";
		man.age = 22;
		man.height = 1.74;
		man.weight = 54.0;
		man.gender = '男';
		man.dream = "创办一家大型软件公司";
		man.show();
	}
}